
Ext.ClassManager.create('vacs.view.catalogos.planservicio.Show', {
	extend: 'Ext.form.Panel',
	alias: 'widget.planservicioShowForm',
	id: 'planservicioShow',
	url: 'planservicio',
	width: '100%',
	//frame: true,
    title: 'Plan de servicio',
	defaults: {
		//anchor: '50%',
		labelPad: 20,
		labelAlign: 'right',
		padding: '10 0 5 0',
		labelWidth: 115
	},
	
	initComponent: function() {
		this.items = [{
			xtype: 'hiddenfield',
			id: 'idplanservicio',
			name: 'idplanservicio'
		},{
			xtype: 'displayfield',
			id: 'descripcion-planServicio',
			fieldLabel: 'Descripcion',
			maxLength:300,
			allowBlank: false,
			name: 'descripcion',
			anchor: '50%'
		},{
			xtype: 'displayfield',
			id: 'costo-planServicio',
			fieldLabel: 'Costo',
			maxLength:50,
			allowBlank: true,
			name: 'costo'//,
			//vtype: 'decNum
		}, {
			xtype: 'displayfield',
			id: 'fechaIni-planServicio',
			fieldLabel: 'Fecha Inicio',
			maxLength:35,
			allowBlank: false,
			name: 'fechaInicioString'
		}, {
			xtype: 'displayfield',
			id: 'fechaFin-planServicio',
			fieldLabel: 'Fecha Fin',
			maxLength:50,
			name: 'fechaFinString'//,
//			dateFormat : 'd/m/Y',
//			editable: false,
//			readOnly: true
		}, {
			xtype: 'displayfield',
			id: 'isActivo-planServicio',
			fieldLabel: 'Activo',
			maxLength:50,
			name: 'isActivo'
		}, {
			xtype: 'displayfield',
			id: 'idestatus-planServicio',
			fieldLabel: 'Estatus',
			maxLength:50,
			name: 'descripEstatus'
		}];
		
		this.buttons = [{
			text: 'Eliminar Plan Servicio',
			id:'idDeletePlanServicio',
			formBind: true
		},{
			text: 'Modificar Plan Servicio',
			id:'idUpdatePlanServicio',
			formBind: true
		}];
		
		this.callParent(arguments);
	}
});